The “Get All Actros Of Class” output “Out Actors” needs to be connected to the “For Each Loop” input “Array”. This will basically loop over all of the beds in your scene.
It seems I forgot about the pillow part so my apologies. Try creating another custom event, name it “Set Pillow Visibility” with a Boolean input. Call this event after you add the widget to your viewport and between the “Get All Actors Of Class” and set the input to true (this will show the pillow of the bed you are clicking on).
Call this aswell in the for loop right after “Remove Widget” and set the input to false (this will hide the pillow of the other beds).
Lastly call this event on “Flip Flop B” or “Branch True” right after “Remove Widget” and set the input to false (this will hide the pillow of the bed you click on the second time).
I would also suggest not using a FlipFlop but rather a boolean and a branch to check whether the clicked bed is active, FlipFlops can be a bit annoying to work with in certain cases.


