diff options
Diffstat (limited to 'Tray.tscn')
-rw-r--r-- | Tray.tscn | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -52,9 +52,12 @@ size_flags_horizontal = 0 size_flags_vertical = 0 text = "<" -[node name="Area2D" type="Area2D" parent="."] +[node name="TrayCollision" type="Area2D" parent="."] +unique_name_in_owner = true +collision_layer = 3 +collision_mask = 3 -[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] +[node name="CollisionShape2D" type="CollisionShape2D" parent="TrayCollision"] [connection signal="resized" from="." to="." method="_on_resized"] [connection signal="pressed" from="Control/Button" to="." method="_on_button_pressed"] |