Lua:targetIsX86

From Cheat Engine
Revision as of 23:37, 26 June 2026 by Leunsel (talk | contribs) (Added related function template.)
(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[edit]

This function has no parameters.

Returns[edit]

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

Examples[edit]

1 if targetIsX86() then
2   print("Target process is x86 based")
3 else
4   print("Target process is not x86 based")
5 end

Main Pages

Core Lua documentation entry points

Lua
Script Engine

Target / Platform Helpers

Memory / Autorun Helpers

Output / Formatting

printf

Disassembly Helpers

Taskbar Progress Helpers