Passing control from widget back to the game instance?

Use Get Game Instance followed by Cast To (Your Game Instance Class).

Also, you really should not be calling Collect Garbage. Just let it do its work on its own.

Also, it’s recommended to use On Clicked event for buttons, rather than On Released.

1 Like