Create a new scene with AnimatableBody2D as root

Rename to MovingPlatform

Add a CollisionShape2D as a child

Add a TileMapLayer as a child

Save the scene as moving_platform.tscn