Switch mesh on integer

Hi I asked a question about switching in and out meshes earlier and it was suggested that I use an integer to cycle through the meshes, for the sake of argument lets say 5.

I have created a BP that adds one to the integer every time I click inside the box trigger. What I need to do now is like each integer to a static mesh so every time I click I get a new mesh. I also need to loop the integer back to zero once i get past 5.

Hi. You have to add an Array property filled with your meshes (making it editable doesn’t matter)

And use something like that to switch