Game Development Community

GuiSpriteCtrl (How to use) question

by ChrisKnapp · in Torque 2D Beginner · 06/23/2018 (12:19 pm) · 1 replies

Dear all,

i really want to know how to use a GuiSpriteCtrl.

It cannot be used with ::onCLick(), it seems, and onTouchDown (%this,...) does not work either.

Have you any tips?

Kindest, Chris aka Richard





#1
06/24/2018 (2:42 pm)
You have to add it yourself. Look at how input was added to another GUI control: guiButtonBaseCtrl.cc