Skip to content

HitAreaOverlay

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

Overview

Displays the "hittable" mouse/touch regions for items with input listeners.

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

Class HitAreaOverlay

import { HitAreaOverlay } from 'scenerystack/scenery';

Constructor

new HitAreaOverlay( display : Display, rootNode : Node )

Instance Methods

addShapes()

Source Code

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