Game Development Community

Right-Click and Double-Click Mouse

by Ronald J Nelson · in Torque Game Engine · 10/14/2006 (12:59 am) · 0 replies

I am guessing to make a working right click function in the gui you need to right a scripted frunction. However, has anyone actually written a coded function that is accessible to the other gui elements that would work like onRightClick?

Better yet, how about a coded function that recognizes double clicking the mouse like onDoubleClick?

I ask because most video games out there these days have this functionality and I was hoping someone had beaten me to this before I need to try writing one.