An example below shows how to implement a simple click counter that increments a value each time a button is clicked. This demonstrates how user interactions can be captured and reflected in real time within spreadsheet cells.