I have two characters in my 2d game. I want to be able to toggle between controlling the two of them.
Each one is a KinematicBody2D, with a square collision, and sprite. How do I set it up so that I can press the number 1 to switch between controlling them and at the same time have the camera smoothly lock onto the new selection?