Garry's Mod Wiki

RememberCursorPosition

  RememberCursorPosition()

Description

Saves position of your cursor on screen. You can restore it by using RestoreCursorPosition. This is used internally by the spawn menu/context menu