enabled

fun enabled(value: Boolean): Node

Enables/disables the Node. When disabled colliders are removed from the Physics system and will not be called.

Parameters

value

true to enable this node; false otherwise


Enables/disables the node.