Total Miner

(Official) LUA Scripting Documentation

get_cursor_distance

Get the distance to the block targeted by the context actor block cursor.


Spec:

get_cursor_distance()

Returns


A negative return value means the cursor is invalid (not targeting a block)


Example

local d = get_cursor_distance()

Incomplete

This documentation is incomplete


back