Hey guys, need a bit of help for my top-down RPG. I need my main character to create an actor relevant to itself when a button is pressed. I have tried using "int" variables to track the X and Y of the character, but the .class does not compile without errors.

