Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Triggers/Events/Unit Is Clicked

From SC2Mapster Wiki
Jump to: navigation, search

Selection-Clicks and Highlights

Unit Is Clicked


Selection - unit is clicked by Player player

Galaxy Code

void TriggerAddEventUnitClick (trigger t,unitref u,intint player)


This event fires when a unit is clicked by a player. Use "Triggering Unit" to refer to the unit being clicked. Use "Triggering Player" to get the player.