How do I move a Sprite with CollisionShape2D that's currently colliding with other objects?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By shadowsfx

Hi, I’m starting out GODOT (which i’ve loved it so far) and I’m trying to make a very simple game kind of like pacman. For the map I’ve used a Tilemap with a sprite that has a collision and the player is a KinematicBody2D with an AnimatedSprite and a CollisionShape2D. As long as the Player isn’t touching two opposite sides (like top and bottom) from the tilemap I can move left and right and viceversa, however, it lets the player have a 1 pixel room to kind of like move between walls and that’s not a desireable behaviour, but if i fit it perfectly like in this image:

https://drive.google.com/file/d/1iWgLArreeXobXdGjECqbVUxWDN2nM2Zm/view?usp=drivesdk

I can’t move at all.

How can I fix such behaviour?