Switching tool in 2D game

How do i switch my tool and then when i click its play animation of that tool
anyone can guide? very beginner

Best intro to Godot I’ve found: https://www.youtube.com/watch?v=nAh_Kx5Zh5Q

If too confusing (don’t know your level), then start with general programming concepts by picking up a beginner book on Python (or finding an online course).

thanks really i mayber understand about logic to switch but i dont know how to write it.