KinematicBody2D.isOnWall

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

struct KinematicBody2D
@nogc nothrow const
bool
isOnWall
()

Meta