Skip to main content

Mobile::setMobilePhoneScale

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

```js mp.game.mobile.setMobilePhoneScale(scale); ```

Required Arguments

  • scale: float

Return value

  • Undefined

Example

```js // todo ```

See also