What it does
quest.getData reads Data on a quest object. It takes id and k.
Signature
quest.getData(id, k)Arguments
idk
Example · generated
function update(dt) { const data = quest.getData('main', 1);}quest.getData is called with values of the shape its signature asks for. The code sits in update(dt), which the engine calls every frame: dt is the time since the last one, in seconds.