Am I doing something wrong or could be something related to use Godot 4? Do you know how can I achieve the same effect? How can I add collision to a sprite?
If you're using Godot 4.0 then it's most likely due to this. The course is designed for Godot 3.5 and some data is very likely to get lost when trying to convert to Godot 4.0