Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 28cb59b

Browse files
authored
Update README.md
1 parent ed4e41c commit 28cb59b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ for a backend, e.g. `egui` or `rapier`.
2929

3030
## Expressive
3131

32-
The `OnPointer<E>` event listener component makes it easy to react to pointer interactions like
32+
The `On::<Pointer<E>>` event listener component makes it easy to react to pointer interactions like
3333
`Click`, `Over`, and `Drag`. Events bubble up the entity hierarchy starting from their target
3434
looking for event listeners, and running any listener's callbacks. These callbacks are normal bevy
3535
systems, though a number of helpers are provided to reduce boilerplate:

0 commit comments

Comments
 (0)