Advantage of setReferencePoint

Are there any advantage to set object:setReferencePoint(display.CenterReferencePoint) in case of speed etc.??

This is the default behaviour after all. [import]uid: 95786 topic_id: 20879 reply_id: 320879[/import]

I would venture a guess that calling :setReferenePoint to what it already is is a waist of CPU cycles. You still are invoking the function, moving parameters on and off the stack and a minimum IF statement to see if it needs set or not, or if it just sets it, executing the setter functions.

But keep in mind while almost all API calls are Center reference point based, its not always the case. [import]uid: 19626 topic_id: 20879 reply_id: 82259[/import]