Click or drag to resize

KinematicBodyGetAxisLock Method

Note: This API is now obsolete.

Returns true if the specified axis is locked. See also MoveLockX, MoveLockY and MoveLockZ.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("GetAxisLock is deprecated. Use the MoveLockZ property instead.")]
public bool GetAxisLock(
	PhysicsServerBodyAxis axis
)

Parameters

axis
Type: GodotPhysicsServerBodyAxis

[Missing <param name="axis"/> documentation for "M:Godot.KinematicBody.GetAxisLock(Godot.PhysicsServer.BodyAxis)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.KinematicBody.GetAxisLock(Godot.PhysicsServer.BodyAxis)"]

See Also