We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01c5506 + 9b1f171 commit b200707Copy full SHA for b200707
addons/block_code/ui/picker/categories/category_factory.gd
@@ -635,6 +635,17 @@ static func get_built_in_blocks(_class_name: String) -> Array[Block]:
635
b.category = "Input"
636
block_list.append(b)
637
638
+ b = BLOCKS["statement_block"].instantiate()
639
+ b.block_type = Types.BlockType.EXECUTE
640
+ b.block_format = "Move and slide"
641
+ b.statement = "move_and_slide()"
642
+ b.category = "Physics | Velocity"
643
+ block_list.append(b)
644
+
645
+ props = {
646
+ "velocity": "Physics | Velocity",
647
+ }
648
649
var prop_list = ClassDB.class_get_property_list(_class_name, true)
650
block_list.append_array(blocks_from_property_list(prop_list, props))
651
0 commit comments