isAutoFireHeld
isAutoFireHeld(
world,weapon):boolean
Whether weapon’s auto-fire holds on world’s page: its own shot line
has rested on a target for its delay, on a touch screen, with the
player’s and the game’s auto-fire on. A game’s own trigger fires while
it holds, at the weapon’s rate, as if its button were held.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
weapon |
string |
Returns
Section titled “Returns”boolean