Mobile::setMobilePhoneScale
Jump to navigation
Jump to search
The minimum/default is 500.0f. If you plan to make it bigger set it's position as well. Also this seems to need to be called in a loop as when you close the phone the scale is reset. If not in a loop you'd need to call it everytime before you re-open the phone.
Syntax
mp.game.mobile.setMobilePhoneScale(scale);
Required Arguments
- scale: float
Return value
- Undefined
Example
// todo
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