How can i set a Boolean to true inside my struct?

hey guys. i am trying to make something with a struct (shop) but i wanna use a Boolean to find if something is already buyed if it is i wanna hide the buy button is that possible? or do i need to use another way? i dont know how to set it to true after something is purchased

You can use set members or make.
Inside your actor “shop” you should already have a variable type “your struct”, connect it to a “Set members in “your struct name””. Select the Set members node, on the right side tick the option you want to make visible and set it in the event graph. Connect the output to your first created variable on your actor to set the reference on it.
The diamond output instead of a circle is because you are creating a new reference.

Basic setup:

](filedata/fetch?id=1855876&d=1611508553)

1 Like