Projects » Using Long and Short Touch of mouse button

How to use the touch_start and touch_end events to activate different actions within your scripts.

Example of uses are:

Short touch object to perform an action like show menu ot give an object.

Long touch to activate an owner configuration menu
Or a Secret touch to perhaps give a special gift or reveal a secret message

Or on a role play region, the longer the touch the more health or energy the toucher is given. Or and Or and imagination is your limit.

Simply REZ a prim, create a script and past the code.


Added by: IrishWhiskey
Last Update: 7 months ago
Project Category: Tutorial
👍 like

Code

File name Added By Last Updated Actions
LengthOfTouch IrishWhiskey 7 months ago View


Comments

No comments yet