Black Lives Matter. Please consider donating to Black Girls Code today.

Box Select - Extract Coordinates

Hey,

For my project I need to extract the x and y coordinates of the “Box Select” which I use to select data within a shiny app (as I need to filter according to these values within a time frame).

JS - Event Handlers <- I saw here that the event handler has these coordinates (x and y array) and you can see them in the console - but how do I store them dynamically within R?

Thanks already.