From Castle Wiki
open logic tab

The Logic tab is the part of the Inspector governing the logic of the given Blueprint, including Rules and Variables. Rules and actor variables play an important role in the functionality of Castle decks.


The rules section is where rules for the given blueprint are written. Rules are pieces of logic that have a trigger and responses. Using rules, you can control what your actors do under certain conditions, and in response to specific events.


The variables section is where actor local variables for actors that use this blueprint are defined. Variables can be used and referenced in the Rules tab without a definition in the Variables tab, they will be initialized as 0. There are two kinds of variables, global variables and actor variables, but only actor variables are configurable from the Logic tab.