Skip to content

SpriteListenable

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/listeners/SpriteListenable.ts for the most up-to-date information.

Overview

A trait to be mixed into PressListeners for identifying which SpriteInstance of a given Sprites node was interacted with, AND will prevent interactions that are NOT over any SpriteInstances.

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

Source Code

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