Adventure Creator Wikia

Note: this is useful if you need your script to use, change or otherwise affect the hotspot the player just used, in a painless no hassle manner.

        Hotspot myHotspot = AC.KickStarter.playerInteraction.GetLastOrActiveHotspot();
        // validate : dont want to have a bad object ref ....
        if (myHotspot != null) 
		{   
		 /*do your stuff here*/ 
		 
		} 
		else 
		{
		 Debug.Log ("Oh Duckpants - I must have made a Boo Boo ! Lost the Hotspot");
		}

-Original tip provided by Simonr. Edited by Alverik-