Companion

object Companion

companion

Functions

Link copied to clipboard
@Stable
fun any(): TargetEntity

Bind a gesture to any entity

@Stable
fun any(condition: (entity: Entity) -> Boolean): TargetEntity

Bind a gesture to target entities which meet the condition.

Link copied to clipboard
@Stable
fun hit(entity: Entity): TargetEntity

Bind a gesture to target an entity or a descendant of entity.