Function KinematicBody.isOnWall

Returns true if the body is on a wall. Only updates when calling moveAndSlide.

bool isOnWall() nothrow @nogc const;