Getting Mouse Position using RxJS
2 min readFeb 25, 2024
Introduction
This will be a short post just to demo some basic event capturing using RxJS.
Requirement
We want to capture mouse coordinates on the screen and use those values to move a shape around. You can use it for other effects as fit for your requirements.