Skip to content

Commit 16ad1d6

Browse files
committed
Activate tool on single click. Useful for debugging. (More control.)
1 parent cc913a9 commit 16ad1d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

TerrainTool.gd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func _unhandled_input(event):
3333
radius = mesh.bottom_radius
3434
attenuated_circle.radius = radius
3535
if Input.is_action_just_pressed("left_button"):
36+
position = translation
3637
for audio in sound_dict.values():
3738
audio.stop()
3839
sound_dict[current_state].play()

0 commit comments

Comments
 (0)