phetsims / projectile-motion

"Projectile Motion" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
15 stars 13 forks source link

targetNode should have an inputEnabledProperty #252

Closed arouinfar closed 3 years ago

arouinfar commented 3 years ago

For #244

Related to https://github.com/phetsims/scenery/issues/1116

The targetNode is draggable, but some clients may want to disable this, so it needs a pickableProperty (or interactiveProperty, but that doesn't exist yet).

zepumph commented 3 years ago

See projectileMotion.introScreen.view.targetNode.inputEnabledProperty on any screen.

arouinfar commented 3 years ago

Looks good!