Streaming live at 10am (PST)

Custom interaction based on cursor position

Hello everyone,

Is it possible to move something inside a div block, depending on the cursor position on the viewport?

Like the diagram here:

I will personally ship a box of English tea to the helpful soul that helps me solve this conundrum!

Here is a good example:

(notice the navbar, when scrolled down)

Thank you

A simple “cursor moves over element” interaction applied to this div block’s parent that would affect the item inside that you need to move will do it.

1 Like