[gd_scene load_steps=2 format=2] [ext_resource path="res://test/battle_sprites.gd" type="Script" id=1] [node name="battle_sprites" type="Node2D"] scale = Vector2( 2, 2 ) script = ExtResource( 1 ) [node name="OptionButton" type="OptionButton" parent="."] anchor_bottom = 0.67 margin_top = 160.0 margin_right = 100.0 margin_bottom = 180.0 rect_scale = Vector2( 0.5, 0.5 ) text = "Stand" items = [ "Stand", null, false, 0, null, "Guard", null, false, 1, null, "Walk", null, false, 2, null, "Down", null, false, 3, null, "R_Swing", null, false, 4, null, "L_Swing", null, false, 5, null, "Cheer", null, false, 6, null, "Recoil", null, false, 7, null, "Chant", null, false, 8, null ] selected = 0 [connection signal="item_selected" from="OptionButton" to="." method="_on_OptionButton_item_selected"]