Download

How do I make a blueprint that changes sprite by clicking on a separate sprite

So I want to make a prophunt type 2d game, I want to be able to click on a sprite that is a prop and change my character to that prop, does anyone have an idea on how I could do this, I was thinking like a global variable Boolean but I am new to blueprints and do not know nearly anything. I just need some help with this, thank you.

You are able to obtain a working click event on the sprite?
You have a “character” with defined a sprite variable ?

When you click on the sprite, you need a reference to the character you want to change, and to the paper2d component.
Then you can se the sprite Set Sprite | Unreal Engine Documentation

This is my blueprint for the green keycard on the ground, I want my robot to go invisible and turn into the keycard when it is clicked on but it is not working. What am I doing wrong here? I am using the set paper sprite and trying to target it to my 2d character but it is not working.