Format

DblClick(location,control,params)

When

Called when the object is double-clicked.

Args

  • location: the turf, stat panel, grid cell, etc. in which the object was double-clicked
  • control: the name of the skin control involved
  • params: other parameters including mouse/keyboard flags, icon offsets, etc.; see mouse handling

This proc is called by the default client.DblClick() procedure.

This example allows the player to teleport to a position by double clicking it.

turf/DblClick()
  usr.Move(src)

See also