projectile: members
10 implemented, 0 reserved. Entries are sorted by name.
Implemented
Section titled “Implemented”projectile.angle: number
Runs on: client only. Origin: compatibility. Since: M8. Playground: no. read-only.
The direction of the flight in radians; 0 flies right and pi/2 flies up.
echo(level.projectiles[0].angle);Specification: world-and-objects.md§20.6.
fromplayer
Section titled “fromplayer”projectile.fromplayer: player
Runs on: client only. Origin: compatibility. Since: M8. Playground: no. read-only.
The player who shot, or empty when that player is not in the level.
echo(level.projectiles[0].fromplayer);Specification: world-and-objects.md§20.6.
fromplayerid
Section titled “fromplayerid”projectile.fromplayerid: number
Runs on: client only. Origin: compatibility. Since: M8. Playground: no. read-only.
The id of the player who shot, or -1 for a shot that did not come from a player.
echo(level.projectiles[0].fromplayerid);Specification: world-and-objects.md§20.6.
projectile.horiz: boolean
Runs on: client only. Origin: compatibility. Since: M8. Playground: no. read-only.
True when the projectile flies along the ground (its height angle is 0).
echo(level.projectiles[0].horiz);Specification: world-and-objects.md§20.6.
params
Section titled “params”projectile.params: array
Runs on: client only. Origin: compatibility. Since: M8. Playground: no. read-only.
The parameters given when it was shot.
echo(level.projectiles[0].params);Specification: world-and-objects.md§20.6.
projectile.speed: number
Runs on: client only. Origin: compatibility. Since: M8. Playground: no. read-only.
The speed in tiles per second.
echo(level.projectiles[0].speed);Specification: world-and-objects.md§20.6.
projectile.x: number
Runs on: client only. Origin: compatibility. Since: M8. Playground: no. read-only.
The x position in tiles.
echo(level.projectiles[0].x);Specification: world-and-objects.md§20.6.
projectile.y: number
Runs on: client only. Origin: compatibility. Since: M8. Playground: no. read-only.
The y position in tiles.
echo(level.projectiles[0].y);Specification: world-and-objects.md§20.6.
projectile.z: number
Runs on: client only. Origin: compatibility. Since: M8. Playground: no. read-only.
The height above the ground in tiles.
echo(level.projectiles[0].z);Specification: world-and-objects.md§20.6.
zspeed
Section titled “zspeed”projectile.zspeed: number
Runs on: client only. Origin: compatibility. Since: M8. Playground: no. read-only.
The vertical part of the speed in tiles per second.
echo(level.projectiles[0].zspeed);Specification: world-and-objects.md§20.6.
Engine version 0.1.0. Built 2026-11-18.