Total Miner

(Official) LUA Scripting Documentation

get_cursor_face

Get the face of the block targeted by the context actor block cursor.


Spec:

get_cursor_face()

Returns


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


Example

local face = get_cursor_face()

Incomplete

This documentation is incomplete


back