i have multiple enemies spawned like this and adding them in the add enemies function of the select opponent widget
the select opponent widget makes buttons corresponding to the enemies like this by creating a widget called select opponent button
my question is when the player presses one of those buttons how to attack the enemy with the player’s attack variable