Message Sensor

See also

See the Python reference of this logic brick in KX_NetworkMessageSensor.

The Message Sensor can be used to detect either text messages or property values. The sensor sends a positive pulse once an appropriate message is sent from anywhere in the engine. It can be set up to only send a pulse upon a message with a specific subject.

Note

See Message Actuator for how to send messages.

../../../../_images/logic-sensors-types-message-node.jpg

Message Sensor.

Properties

See Sensor Common Options for common options.

Subject

Specifies the message that must be received to trigger the sensor (this can be left blank).

Example