Mobile::scriptIsMovingMobilePhoneOffscreen
Syntax
mp.game.mobile.scriptIsMovingMobilePhoneOffscreen(toggle);
Required Arguments
- toggle: Boolean
Return value
- void
Example
If the bool toggle is set to false the mobile will be shown.
Client-Side
mp.game.mobile.scriptIsMovingMobilePhoneOffscreen(false);
If the bool toggle is set to true the mobile will be hidden from screen.
Client-Side
mp.game.mobile.scriptIsMovingMobilePhoneOffscreen(true);
See also
- mp.game.mobile.cellCamActivate
- mp.game.mobile.createMobilePhone
- mp.game.mobile.getMobilePhonePosition
- mp.game.mobile.getMobilePhoneRenderId
- mp.game.mobile.getMobilePhoneRotation
- mp.game.mobile.moveFinger
- mp.game.mobile.scriptIsMovingMobilePhoneOffscreen
- mp.game.mobile.setMobilePhonePosition
- mp.game.mobile.setMobilePhoneRotation
- mp.game.mobile.setMobilePhoneScale
- mp.game.mobile.setPhoneLean