API Reference › Assets › Assets.enqueue
method

Assets.enqueue

Assets.enqueue(name, path)

Adds a named image file to the preload queue without loading it now. Load the queue incrementally with Assets.pump from a loading scene, then reach each asset by name with Assets.get once Assets.ready. Enqueueing is deterministic — the same order loads the same assets in the same order every run.

← All symbols