Download

Show/hide mesh by click

Hi,
I have problem with group mesh (example - in image i have 6 cube).

When i click play 6 cube mesh is no visiblie.

If i click first mesh - set visible.
If click another cube mesh - set visible all previous cube mesh is hidde in game.
If second click cube mesh - mesh hidden in game

What a best way to solve this problem ??

5a68039e9d532523d67bfe4f6348f24862949a57.png

I’d make them blueprint actors and you’d from their static mesh components (where you set what shape you want that actor to be…so cube in this case) drag off and do set visibility…In New Visibility of that node check it if you want the actor to be visible leave it unchecked if you want to hide the actor…