Making an object(s) appear and Dissappear with right mouse button.

Hi,

I’m a beginner and really need help with my blueprints. I’m trying to have an object appear and disappear any time the right mouse button is clicked. Every way I try to do this though, it fails! I need the right mouse to turn on and off the visibility of multiple objects in my level. Here is what I have so far. I keep getting a runtime error with blueprints shown below. If you have any suggestions of how to do this, let me know. Please help!!


You need to get a reference to the actor “instance” (BP-RockColumn) that’s in the level.

2 Likes

you can use GetHitResultUnderCursor to get the Actor reference and then call an interface on that Actor to toggle visibility

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.