Click the + to create a new scene
Save the scene as goblin.tscn
Add a Sprite2D as a child
Set its texture to goblin.png
Add a CollisionShape2D as a child of Goblin
Set its Shape to new CapsuleShape2D
Add a VisibleOnScreenNotifier2D
Click the Scroll with the +
to point the goblin towards the player
when goblins go off screen
Update the ready function
to Connect the screen exited signal
Create the process function
To make the goblin move constantly