so its working?
some good practice tips.
- RemoveFromParent last, while this likely works because garbage collection isnt instant, if you think about it logically you’re destroying the widget before calling the attack function.
- PlayerTurn false makes sense to be inside the EndTurn function.
this shouldnt happen if its created in BeginTurn and only one unit is ever active