Hey there, I am working with hype since a few weeks.
I don't get my custom cursor script running with hype elements.
Adding an element by html to the page works and gives all the functions I need.
How do I get this script to work with hype elemnts and classes?
Here I have added my file:
clickable.hype.zip (10.3 KB)
you'd add code that corresponds to hypeelements onsceneload ... not in the headsection without connection to a hypeevent
if you want to style hypeelemnts with custom css, it's best to uncheck 'protect from external styles'
Thanks for your response, unchecking "protect from external styles" does not seem to solve the problem. Do you have any other suggestion?
There are multiple ways to customize the cursor, some are native to Hype, while others require CSS. None require jQuery and I would recommend against using it unless absolutely necessary.
Here is a small sample program I wrote that demonstrates how to implement different cursor types.
customCursors.hype.zip (66.6 KB)