[HTML] How to know what render OpenFL is using?

Hello guys, there is a way to know what kind of render OpenFL is using for HTML?
I’m trying with this code but I get an error, I think is outdated


Source/Main.hx:16: characters 10-31 : lime.ui.Window has no field renderer

And, how can I switch between WebGL and Canvas?

I tried to find in the Lime API but the link is broken http://api.openfl.org/lime/

I’m using OpenFL 8.4.0, thanks in advance

Hi cruzlutor.

Starting with Lime 7 you can use:


To switch between canvas/webgl add one of the following to your project.xml file:

<haxedef name="canvas" />
<haxedef name="webgl" />