So I want to add an isOnFloor
data to the body using the example
--macro echo.Macros.add_data("isOnFloor", "Bool")
but when I try to access it I get an error:
This is the hxml file if it will help
-cp src
-lib heaps
-lib hlsdl
-lib deepnightLibs
-lib ldtk-haxe-api
-lib echo
-hl bin/Test.hl
-main Main
-D windowSize=1024x576
--macro echo.Macros.add_data("entity", "objects.Entity")
--macro echo.Macros.add_data("isOnFloor", "Bool")