Skip to content

global.resourceCounts

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get a map of currently loaded resource counts by type (Image, Texture, Font, etc.)

Parameters

None.

Return value

Condition Return Value
(always) number

Notes

Example

counts = resourceCounts
print counts   // e.g. {Image: 0, Texture: 2, Font: 1, Sound: 0, ...}

Clone this wiki locally