Postby Hoeloe » Sun Feb 21, 2021 6:15 am
You can just use "camera.x" and "camera.y" in your Lua code, but note that these will be one frame behind in functions other than onDraw, onCameraDraw, or onDrawEnd, and onCameraUpdate may be affected by other Lua code, so you should try to make sure you use onDraw or onCameraDraw.