base class — bpy_struct
subclasses — RaySensor, PropertySensor, MessageSensor, TouchSensor, JoystickSensor, CollisionSensor, RadarSensor, DelaySensor, RandomSensor, AlwaysSensor, ActuatorSensor, MouseSensor, ArmatureSensor, KeyboardSensor, NearSensor
Game engine logic brick to detect events
Delay between repeated pulses(in logic tics, 0=no delay)
Type : | int in [0, 10000], default 0 |
---|
Invert the level(output) of this sensor
Type : | boolean, default False |
---|
Sensor name
Type : | string, default “” |
---|
Display when not linked to a visible states controller
Type : | boolean, default False |
---|
Set sensor expanded in the user interface
Type : | boolean, default False |
---|
Type : | enum in [‘ACTUATOR’, ‘ALWAYS’, ‘ARMATURE’, ‘COLLISION’, ‘DELAY’, ‘JOYSTICK’, ‘KEYBOARD’, ‘MESSAGE’, ‘MOUSE’, ‘NEAR’, ‘PROPERTY’, ‘RADAR’, ‘RANDOM’, ‘RAY’, ‘TOUCH’], default ‘ALWAYS’ |
---|
Level detector, trigger controllers of new states(only applicable upon logic state transition)
Type : | boolean, default False |
---|
Activate FALSE level triggering (pulse mode)
Type : | boolean, default False |
---|
Activate TRUE level triggering (pulse mode)
Type : | boolean, default False |
---|
Trigger controllers only for an instant, even while the sensor remains true
Type : | boolean, default False |
---|
Link the sensor to a controller.
Parameters: |
|
---|
Unlink the sensor from a controller.
Parameters: |
|
---|
Inherited Properties
Inherited Functions
|
References