In the plot that I’m making, I’ve got a large list of points. My goal is to make each point clickable so that they each change a specific element of a list. So, if the list is labeled “n” then clicking the fourth point should make n[4] → n[4] + 1. Is there a way of doing that? I’ve tried using the notation I just showed, something like n[index] → n[index] + 1, but desmos tells me that n[index] is a number and not a variable. I’d appreciate any help.

P.S. I’m new to desmos classroom so please let me know if there is anything wrong with the way I formatted this question.