How do you get the Hand?

When I’ve played games a hand icon pops up when you hover over something you can interact with. Then you can click on it and drag and the hand closes and moves the object.
I don’t know what this is called properly so I haven’t been able to find references to it to find out how to script it.

Ideally I’d like to create a custom icon too but mostly I just need a basic guide to getting the Hand to work and interact with game objects…

Thanks.

Hello, change your mouse cursor to any image you want, by moving a GUI texture where the cursor is positioned.

remember to hide the cursor so you dont see both cursor and the texture.:wink:

OK, thanks! Do you have any example of the sort of script this entails or how to use the hand to interact with my game object?

Cheers.

Hello, this should help you out getting started :wink:

201096–7420–$mousetexturehandling_234.js (531 Bytes)

Thank you Naruse!

You don’t have any instructions to go with that?

Thanks a million!

lol

sadly at the moment I don’t, this was an old project I worked for :frowning:

the code is simple tho! it shouldn’t be hard to understand! :wink:

if you have doubts paste them here :wink:

Cheers!

I’ll be back…

Past midnight here and I’m not a scripter.

Deliriously happy to get a simple revolve working. No clue how this works.
Will have a go tomorrow and get back to you.

Thanks Naruse.