diff options
Diffstat (limited to 'game.gd')
| -rw-r--r-- | game.gd | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +extends Spatial + + +func _input(delta): + if Input.is_action_just_pressed("camera-toggle"): + if $car.target: + $car.target = null + else: + $car.target = $ball |
