Host typegenerated
Aim
Which block in a 3D block world the mouse or finger is pointing at, for building and digging games.
7 members · engine 0.1.0
Aim.hit: boolWhether the pointer is over a block. Always check this first: when it is false, every otherAimvalue is 0, which is a real position.Aim.place_x: numberWhere a new block would go if placed now: the column of the empty space next to the side being pointed at.Aim.place_y: numberThe row where a new block would go.Aim.place_z: numberThe height level where a new block would go.Aim.x: numberThe column of the block being pointed at.Aim.y: numberThe row of the block being pointed at.Aim.z: numberThe height level of the block being pointed at.
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b