Function KinematicBody.getAxisLock

Returns true if the specified axis is locked. See also moveLockX, moveLockY and moveLockZ.

bool getAxisLock (
  const(long) axis
) nothrow @nogc const;