please format code with </> button * homework policy * asking questions
Hi, i’am wondering if it is possible to use native js functions in p5. I need, for example, to use the element.scrollTop property, but i don’t know if i can use it in p5.
I wan’t to do this: W3Schools Tryit Editor
but i need to have this “y” variable in p5 so i can then use it. I would not mind if i had to do a native js function and then get the variable value on p5, but i don’t know how to do it either.
Can anyone help me?