Get current object with javascript in geogebra

Sebayy shared this question 3 years ago
Needs Answer

I want to make a function which f.e. deletes the executing object

//Global js:
function delete(obj){

//OnClick js:

but "this" may works with all major browsers but not with geogebra

How am I supposed to do this in geogebra (with js, not geogebra script)

Thanks for your help!

MDN about "this"

Comments (1)


> executing object

What do you mean by this? Please explain what you are trying to do overall

© 2022 International GeoGebra Institute