I want to get the pressure of the element so i can use it in the tpt.element_func() function.
i assume it would be something along the lines of local pressure = tpt.get_property("pressure") or something like that but im not sure.
i put local press = sim.pressure(x,y)/4 into the element code and it keeps spitting out something along the lines of 'coords are out of range (*the particle that is spitting out the error's current coords*)'
So what if i were to do the same with temperture what would i do?
tpt.get_property("temp",x,y)
Though this is considered 'outdated' and i'm too lazy to learn another way.
"Invalid property"
While im here can you real quickly let me know how to change the color of the element?