We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pancake.getStat(object, attribute)
A simple function that returns the given attribute of the given object.
`object ` ← Which object’s attribute should be used.
attribute ← What attribute should be returned.
attribute
atribute_value ← What is the value of given attribute
atribute_value
pancake.getStat(player, "velocityX")
Gets the value of velocity on X axis of the player object.
X
player
Main articles:
Home
Getting Started
Tutorials:
Topics:
Settings
Pancake Attributes
Objects
Layers
Animations
Functions:
pancake.addObject()
pancake.getStat()
pancake.init()