How to turn on or off static meshes through a widget button

I am developing a widget with three buttons.

Button A Button B Button C
Hides tagged elements 01&02 Show tagged elements 01 Show tagged elements 02
Hide taggel elements 02 Hide tagged elements 01

Should I use Actor hidden in game? And Set Visibility to on? I am trying to find the best blueprint solution

Kind regards

As this did not appear as desired…

Button A Hides Tagged static meshes (with tag value 01 & 02)
Button B Shows Tagged static meshes with tag value 01 and hides static meshes with tag value 02
Button C Shows Tagged static meshes with tag value 02 and hides static meshes with tag value 01

Yes, what’s wrong with that? Leave the visibility, just toggle the actor hidden.

I tried a simplified version…

Two buttons. One tag. Tag is trailer. One button to hide and one to show static mesh actors

Tag is in slot 6

293142-tag.jpg

Then I create the following

Still nothing happens… Any suggestions?

Please advise on the simple version

293142-tag.jpg

This is the tag I am using (Trailer)

And this is the blueprint I created

But when in runtime, when I click on either of two buttons (two turn on or off) nothing changes

This is the tag I am using (Trailer)

293142-tag.jpg

And this is the blueprint. This is a simplified version of what I am trying to achieve. Just two buttons to turn on or off static mesh actors in runtime. Nothing happens though…

…And the static mesh actors do not show or hide…

Have the button set the meshes visibility and you can also do a draw distance to make it visible when your near it

Yes that was my issue, I was adding information on the Component Tags while I should be doing this in the Actor Tags.

Please mark your comment as answer

You set the wrong tags. There are two sets of tags, ‘component tags’ and ‘tags’, which are in the Actor section of the details…

I assume you BP is pulling back nothing?