getactorvar[<sprite id>].<gamevar1> <gamevar2>
Use getactorvar to set the value of the gamevar <gamevar2> to the value of <gamevar1> within the actor determined by the gamevar <sprite id>. See Actor Member Functions. <gamevar1> must be defined as a per-actor variable.