Utility functions related to the mouse.
Static methods
staticmouseCamDrag(?target:FlxPoint, ?jusPres:Bool, ?pressed:Bool):Void
Used to be for general camera middle click dragging, now generalized for any click and drag type shit! Listen I don't make the rules here
Parameters:
target | what you want to be dragged, defaults to CAMERA SCROLL |
|---|---|
jusPres | the "justPressed", should be a button of some sort |
pressed | the "pressed", which should be the same button as |
staticmouseWheelZoom():Void
Increment the zoom level of the current camera by the mouse wheel scroll value.