Contents

targetedToAnyEntity()

Requires this gesture to target an entity.

Declaration

@MainActor @preconcurrency func targetedToAnyEntity() -> some Gesture<EntityTargetValue<Self.Value>>

Return Value

A RealityCoordinateSpaceConvertiblevalue containing the original gesture value along with the targeted entity.

See Also

Using a gesture with a RealityKit entity