Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

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.

Parameter Type
world World
weapon string

boolean