Is it possible to get information about what caused a re-run of the app?

For example, I’ve got an interactive ploty chart on my page using the streamlit-plotly-events component (GitHub - null-jones/streamlit-plotly-events: Streamlit component that allows Plotly events to bubble back up to streamlit. Makes Plotly charts interactive!) so I get information when the user clicks on a point in the chart. But, whenever any other widget on the page changes and reruns the app I get the last clicked point coming through again. Is there a way to get information about what caused the re-run of the app so I can respond to actual clicks and ignore the other updates?