HP Prime for All

English  Русский 

Syntax

MOUSE[(index)]

Description

Returns the current pointer's location. returns: two lists of the form {#x, #y, #originalx, #originaly, #type}, one for each potential pointer. Note, if a pointer is unused, returns an empty list #type is: #0: New, #1: Completed, #2: Drag, #3: Stretch, #4: Rotate, #5: LongClick MOUSE(x) returns the nth element that would be returned if MOUSE was called with no arguements or -1 if the associated pointer is not down.

MOUSE — Discussion