KinematicBody.isOnWall

Returns true if the body collided with a wall on the last call of moveAndSlide or moveAndSlideWithSnap. Otherwise, returns false.

struct KinematicBody
@nogc nothrow const
bool
isOnWall
()

Meta