ok so how do you make it stop the sprite when hitting the tile?