Lua:targetIsX86

From Cheat Engine
Revision as of 09:56, 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

<> Lua API Reference

function targetIsX86() : boolean

Returns true if the target process is x86 based.

Function Parameters

This function has no parameters.

Returns

boolean — True if the target process is x86 based, otherwise false.

Examples

if targetIsX86() then
  print("Target process is x86 based")
else
  print("Target process is not x86 based")
end

Main Pages

Core Lua documentation entry points

Lua
Script Engine