Skip to content

ArrowKeyNode

Overview

Node that looks like an arrow key on the keyboard. Default is a rounded triangle centered in a square key.

@author Jesse Greenberg

Class ArrowKeyNode

import { ArrowKeyNode } from 'scenerystack/scenery-phet';

Constructor

new ArrowKeyNode( direction : Direction, providedOptions? : ArrowKeyNodeOptions )

Instance Methods

Type ArrowKeyNodeOptions

import type { ArrowKeyNodeOptions } from 'scenerystack/scenery-phet';

Source Code

See the source for ArrowKeyNode.ts in the scenery-phet repository.