Action while dragging a specific item with the cursor. Is it possible?

  • #1, by fabian-schurgersThursday, 19. December 2024, 11:43 A month ago
    Hi there,

    I have a bit of a problem, and I was wondering if anyone here knows the solution!

    What I would like, is, if you are dragging a specific item with the mousecursor, and you enter an object area, that something would happen.

    For example, in my game, you can take a looking glass from your inventory, and move it about the game screen. I would really like the looking glass to light up, if you move it over objects you can use the looking glass on.

    I don't think there is a way to do it under the 'item dragged' or 'cursor enters object area'. Maybe a script would work? An 'if looking glass dragged' script?

    Shame I'm really bad at scripting.

    Anyway, many thanks in advance!

    Best regards,

    Fabian

    Forum Fan

    139 Posts


Write post