I wanted to test out a money mechanic, and i decided to make an ATM to hold the players money. I set up a quick test where it takes all of the players money instead of a certain amount, but it does not transfer. I made a money blueprint that adds a certain amount to the player. I made a simple interface and a button to transfer everyhting so i had to cast to the player and the ATM blueprint and I think maybe my ATM cast wildcard may be incorrect, I have watched some tutorials on that but im not sure if my wildcard is correct or my entire implementation is wrong.
This is in the ATM UI.