Having an issue passing sprite arguement to the .on

Amazing thank you. Can I ask why this happens? Is it because its on an external function and being scoped it?

I ask because I know on some functions you need to add the arguments after the call back such as on overlaps and colliders