How do I make a falling block in 2d for my game that stays in place

Godot Version

Godot 4.6

Question

How do I make a falling block in 2d for my game that stays in place but falls and disappears after some time?

I would use AnimatableBody2D to precisely control the fall, but RigidBody2D can also work if you set freeze to true when you don’t want it to fall.

1 Like