[gd_scene load_steps=7 format=3 uid="uid://dvmr3r2uub283"]

[ext_resource type="Script" uid="uid://cpwloakvp672a" path="res://Scripts/Parts/EditorVisibleNode.gd" id="1_n5i2x"]
[ext_resource type="Script" uid="uid://dg16ltpjq1r4r" path="res://Scripts/Classes/Entities/Objects/TrackRider.gd" id="1_xlgar"]
[ext_resource type="Texture2D" uid="uid://dtrgyp1sjp568" path="res://Assets/Sprites/Editor/TrackRider.png" id="2_qkkla"]
[ext_resource type="Script" uid="uid://b8vmbtoaaq5nc" path="res://Scripts/Parts/EditorToggleDetection.gd" id="4_yiejl"]
[ext_resource type="Script" uid="uid://ctfbuoxtnnl0q" path="res://Scripts/Classes/Components/EditorPropertyExposer.gd" id="5_yiejl"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_xlgar"]
size = Vector2(12, 12)

[node name="TrackRider" type="Node2D"]
z_index = -1
script = ExtResource("1_xlgar")

[node name="LevelEditorVisibleNode" type="Node2D" parent="."]
script = ExtResource("1_n5i2x")
metadata/_custom_type_script = "uid://cpwloakvp672a"

[node name="Sprite" type="Sprite2D" parent="LevelEditorVisibleNode"]
texture = ExtResource("2_qkkla")

[node name="Hitbox" type="Area2D" parent="."]
collision_mask = 61

[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
shape = SubResource("RectangleShape2D_xlgar")

[node name="LevelEditorToggleDetection" type="Node" parent="."]
script = ExtResource("4_yiejl")
metadata/_custom_type_script = "uid://b8vmbtoaaq5nc"

[node name="EditorPropertyExposer" type="Node" parent="."]
script = ExtResource("5_yiejl")
properties = Array[String](["speed", "direction"])
metadata/_custom_type_script = "uid://ctfbuoxtnnl0q"

[node name="Joint" type="Node2D" parent="."]
z_as_relative = false

[connection signal="toggled" from="LevelEditorToggleDetection" to="." method="start"]
