how to create a static variable in blueprints?
Variables are static unless you have them exposed to editing or are changing them using the SET.
When you create a variable you can leave it at default and then set it in your nodes or enter a value which you can call on by using the GET.
Are you having an issue with a variable that is changing and shouldn’t be?
Please post up a screen shot and well see whats going on.
how to get dosutp from other blueprints?
well depending on what you are trying to do you can either cast to that blueprint if its a controller,pawn, gamestate, playerstate or gamemode.
Otherwise you can make an interface blueprint.
In my game, some graspable objects, defined in a class blueprint, are spawned in real-time, I would like to able to know how many are grasped during the game. I was thinking about using a static variable, please let me know how to manage that. thanks in advance.
Bobht please post this as it’s own question with a better description of what you are trying to accomplish
That is not a static variable. you should be able to alter a static and it alters across all instances.