Lua:getCurrentMemscan

From Cheat Engine
Revision as of 16:59, 21 June 2026 by Leunsel (talk | contribs) (Initial page creation.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<> Reference

function getCurrentMemscan() : MemScan

Returns the current memory scan object.

If tabs are used, this function returns the MemScan object of the currently selected tab.

Function Parameters

This function has no parameters.

Returns

MemScan — The current memory scan object.

Examples

local memscan = getCurrentMemscan()

if memscan ~= nil then
  print("Current MemScan object: " .. tostring(memscan))
else
  print("No current MemScan object available")
end

See Also

Main Pages

"""