immersive-home/docs/reference/EventTouch.md

41 lines
1.5 KiB
Markdown
Raw Normal View History

2024-03-16 19:45:43 +02:00
# EventTouch
**Inherits:** [EventBubble](/reference/EventBubble.html)
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
## Description
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
Emitted when a finger enters or leaves a FingerArea.
2024-03-16 19:45:43 +02:00
## Properties
2024-03-17 01:14:31 +02:00
| Name | Type | Default |
| ------------------------ | ----------------------------------------------------- | ------- |
| [fingers](#prop-fingers) | [Finger](/reference/lib--utils--touch--finger.html)[] | |
2024-03-16 19:45:43 +02:00
## Methods
| Returns | Name |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) | [has_finger](#has-finger) ( finger: [int](https://docs.godotengine.org/de/4.x/classes/class_int.html) ) |
2024-03-17 01:14:31 +02:00
## Constants
### Finger = `<Object>` {#const-Finger}
No description provided yet.
2024-03-16 19:45:43 +02:00
## Property Descriptions
2024-03-17 01:14:31 +02:00
### fingers: [Finger](/reference/lib--utils--touch--finger.html)[] {#prop-fingers}
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
The list of fingers that are currently in the area.
2024-03-16 19:45:43 +02:00
## Method Descriptions
2024-03-17 01:14:31 +02:00
### has_finger (finger: [int](https://docs.godotengine.org/de/4.x/classes/class_int.html) ) -> [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) {#has-finger}
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
Checks if a specific finger is currently in the area.