The position where the mouse ends its movement||doc135755

September 20, 2022

Format

 GameSettings:endMouseMove(x, y) 

Description

Sets the end position where the user ends the interaction with the device (e.g. lifts the mouse, stops touching the touch screen) and sets the interaction movement state to false.


Parameters

Variable name type Description
x float The x coordinate relative to the upper left corner of the screen
y float The y coordinate relative to the upper left corner of the screen


Code Samples

Blockman.Instance().gameSettings:beginMouseMove(0.0,0.0)
Blockman.Instance().gameSettings:endMouseMove(3.0,3.0)