From BlenderWiki

Jump to: navigation, search
Note: This is an archived version of the Blender Developer Wiki. The current and active wiki is available on wiki.blender.org.

Game Expressions

As well as a simple logical operation, a controller can evaluate an expression in order to send a positive or negative pulse to the connected actuators:

  • if the expression evaluates to True, the controller sends a positive pulse to the connected actuators.
  • if the expression evaluates to False, the controller sends a negative pulse to the connected actuators.


The logical expressions can contain mathematical operations, variables and/or the result from other sensors.

Details of how ti write expressions are given in the Expression controller page.