Newer Version Available

This content describes an older version of this product. View Latest

getParam()

Returns the value of an event’s parameter.

Signature

getParam(String name)

Parameters

name
Type: String
The parameter name. For example, event.getParam("button") returns the value of the pressed mouse button (0, 1, or 2).

Returns

Type: Object
The parameter value.