Function KinematicBody.getSlideCount

Returns the number of times the body collided and changed direction during the last call to moveAndSlide.

long getSlideCount() nothrow @nogc const;