First time creating a menu for my game and made a simple signal so that clicking the "start" button takes me to the main scene:
get_tree().change_scene("res://Main.tscn") # Change to main scene
That works fine, but in my main scene I have a code where if I click somewhere, it shoots a ball:
if canShoot and Input.is_action_just_released("click"):
The problem is, when I start my game and press "start" with my mouse button, it also activates the input inside the main scene and not just my menu scene. Would appreciate any help!