On Monday, 28 June 2021 at 21:45:05 UTC, frame wrote: > The SpriteLayer.addSprite() method accepts ushort. That's max. > 65535. You supply 65_536. Ah I mixed the argumets, forget that. However, your comment //ocd.objects[65_536] may also I hint that you try to access elements that are not there.