Skip to content

anim-format (runtime format) / sameItem

Function: sameItem() ​

ts
function sameItem(a, b): boolean;

the same object on both frames: the same sprite, the same symbol instance (same symbol, same id when it has one) or the same text object

Parameters ​

ParameterType
aItem
bItem

Returns ​

boolean

HereSplash — 2D animation for the web