When to use Public Variables

When should I make variable public?

You shouldn’t, BPs are messy as they are. If you can get away without using public variables, that’s great! On the other hand…

it seems like it works whether its
public or private

… pretty much, yeah:

https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1612297-bp-function-private-protected-access-specifiers-are-useless

1 Like