tap Event (InteractiveService)

Summary

Occurs when the user performs a tap operation with either the mouse or a finger.

Syntax

JavaScript Syntax
Object.defineProperty(InteractiveService.prototype,'tap',  
	get: function(), 
	set: function(value) 
) 
function tap.add(function(sender, e)); 
function tap.remove(function(sender, e)); 
TypeScript Syntax
tap: void;

Remarks

The Tap event will fire when any of the following occurs:

On a device that supports mouse and TapOnDown is set to true: When the user presses down the left button and the mouse is over a EventsTarget. On a device that supports mouse and TapOnDown is set to false: When the user presses and then releases the left button and the mouse is over a EventsTarget. On a device that supports touch and TapOnDown is set to true: When the user presses a finger down on EventsTarget. On a device that supports touch and TapOnDown is set to false: When the user presses and then releases a finger on a EventsTarget.

Event Data
ParameterTypeDescription
sendervarThe source of the event.
eInteractiveEventArgsThe event data.
Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize