The following tables list the members exposed by InteractiveService.
Name | Description | |
---|---|---|
InteractiveService Constructor | Initializes a new InteractiveService |
Name | Description | |
---|---|---|
DragStartsOnDown | Gets or sets a value that indicates whether DragStarted events should fire on mouse or touch down. | |
EnableHold | Gets or sets a value that indicates whether Hold events should fire. | |
EnableMouseWheel | Gets or sets a value that indicates whether mouse wheel is enabled. | |
EnableSelection | Gets or sets a value that indicates whether selection of HTML elements is enabled. | |
EventsElement | Gets the events HTML element. | |
HitTestBuffer | Gets or sets the hit test buffer. | |
IsListening | Gets a value that indicates whether the service is currently listening to the events. | |
Owner | Gets the owner of the service. | |
PinchStartsOnDown | Gets or sets a value that indicates whether PinchStarted events should fire on mouse or touch down. | |
PreventContextMenu | Gets or sets a value that indicates whether to prevent the browser context menu from appearing if activated on top of the events element. | |
TapOnDown | Gets or sets a value that indicates whether Tap events should fire on mouse or touch down. | |
TargetElement | Gets or sets the target HTML element. | |
TargetOffset | Gets the target element offset. | |
UserElements | Gets the user HTML elements. |
Name | Description | |
---|---|---|
Create | Creates a new instance of InteractiveService with the specified parameters. | |
Dispose | Destroys this InteractiveService and releases all the resources. | |
OnSizeChanged | Informs the service that the size of the target or events elements have changed. | |
StartListening | Starts listening to the events. | |
StopListening | Stops listening to the events. |
Name | Description | |
---|---|---|
CreateControl | Creates the interactive service. | |
OnDoubleTap | Raises the DoubleTap event. | |
OnDragCompleted | Raises the DragCompleted event. | |
OnDragDelta | Raises the DragDelta event. | |
OnDragStarted | Raises the DragStarted event. | |
OnHold | Raises the Hold event. | |
OnPinchCompleted | Raises the PinchCompleted event. | |
OnPinchDelta | Raises the PinchDelta event. | |
OnPinchStarted | Raises the PinchStarted event. | |
OnTap | Raises the Tap event. |
Name | Description | |
---|---|---|
DoubleTap | Occurs when the user double taps with the mouse or a finger. | |
DragCompleted | Occurs when the user completes a drag operation. | |
DragDelta | Occurs when the user moves the mouse or finger while dragging. | |
DragStarted | ||
Hold | Occurs when the user taps and holds with the mouse or a finger. | |
PinchCompleted | Occurs when the user completes a pinch operation. | |
PinchDelta | Occurs when the user moves the fingers while performing a pinch operation. | |
PinchStarted | Occurs when the user starts a pinch operation. | |
Tap | Occurs when the user performs a tap operation with either the mouse or a finger. |