Lua:targetIsAndroid

From Cheat Engine
Revision as of 23:32, 26 June 2026 by Leunsel (talk | contribs) (Examples: Syntax Highlight.)
Jump to navigation Jump to search

<> Lua API Reference

function targetIsAndroid() : boolean

Returns true if the target process is running on the Android operating system.

Function Parameters

This function has no parameters.

Returns

boolean — True if the target process is running on Android, otherwise false.

Examples

1 if targetIsAndroid() then
2   print("Target process is running on Android")
3 else
4   print("Target process is not running on Android")
5 end

Main Pages

Core Lua documentation entry points

Lua
Script Engine