where the mouse starts to move||doc135753

September 20, 2022

Format

 GameSettings:beginMouseMove(x, y) 

Description

Set the starting position of user interaction with the device (such as pressing the mouse, touching the touch screen) and set the interactive movement state to true.


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)