Custom cursor on code

Hi! I have a frame with code used in my project and I want a custom cursor (shovel) to be triggered when hovering over it, tell me: how to do it?

Now I can set a custom cursor when hovering over shapes and images, but can I make a custom cursor when hovering over the code?