propName
propName
gets/sets the name of the property to set.
Type: string
Sample
Code
############### Get property
#get controller
controller = GameLogic.getCurrentController()
# get random actuator named act attached to the
controller
actRandom = controller.actuators["act"]
# get property name
prop = actRandom.propName
############### Set property
#get controller
controller = GameLogic.getCurrentController()
# get random actuator named act attached to the
controller
actRandom = controller.actuators["act"]
# set property name
actRandom.propName = "Damage"
|