Agony of defeat

something isnt working
every time i do the correct code it says I need to define hero but i don’t need to because it is in game development 2!

Howdy and welcome to the forum! Please post your code, properly formatted, so we can see what’s going on. You can learn how here: [Essentials] How To Post/Format Your Code Correctly