UCC Reference

UI_is_not_blocked

bool UI_is_not_blocked(int pos[3], int shape, int frame)

Checks if there is enough room for a given shape in the specified location.

Parameters

Parameter / value Description
pos The location to be checked.
shape The shape in 'SHAPES.VGA' that is to be checked.
frame The frame of the given shape that should be checked.

Return

If there is enough room in the given location for an object of the given shape and frame, returns true; otherwise, returns false.

Related intrinsics

Full intrinsic reference | Reference definitions