Drawing box selection
hi guys, i have a problem, im drawing a box selection with a flxsprite, and changing width height and position based on mouse and camera scroll. THIS work fine, until i zoom, because the Sprite pos is relative to world Space, but not the mouse position that is relative to the camera. So how can i handle this, there is a way to use only the screen coords or another way to draw a box selection? Thank you.
How do you get the mouse position?
There are several ways like:
@DleanJeans i use FlxG.mouse.x and y, i didn't see it the getWorldPosition method in the api, lol, so basically on default the position of the mouse is based on screen coords. Thank you mate.