Companion

object Companion

Companion.

Functions

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

Binds a gesture to any entity.

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

Binds a gesture to target entities which meet the condition.

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

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