BaseItem.physics.restrict_movement_axis method
restrict_movement_axis(self, x: bool = ..., y: bool = ..., z: bool = ...) -> None:
Restricts this item's movement on the defined axes
.
Parameters
-
x: (optional) bool
-
y: (optional) bool
-
z: (optional) bool