Garry's Mod Wiki

Garry's Mod Wiki

util.worldpicker is for picking an entity in the world while GUI is open.

Methods

Returns if the user is currently picking an entity.
This is used internally - although you're able to use it you probably shouldn't. Finishes the world picking. This is called when a user presses their mouse after calling util. worldpicker. Start.
util.worldpicker.Start( function callback )
Starts picking an entity in the world. This will suppress the next mouse click, and instead use it as a direction in the trace sent to the callback.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...