Total Miner

(Official) LUA Scripting Documentation

get_placement_point

Get the world point where a block would be placed by the context actor.


Spec:

get_placement_point()

Returns


if y == 0 then the cursor / placement point is invalid (not targeting a block)


Example

local x,y,z = get_placement_point()
set_block(x,y,z,block.clay)

Incomplete

This documentation is incomplete


back