Skip to content

scratches

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery/blob/main/js/util/scratches.ts for the most up-to-date information.

Overview

Holds elements that can be reused from multiple places for temporary uses. This is useful for performance reasons, as it avoids creating and destroying elements repeatedly.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Source Code

See the source for scratches.ts in the scenery repository.