You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Touch Library > xppi

2.2.2 xppi

touch.xppi()

Returns pixels per inches along the x-axis of the screen. This function is useful to determine the touch target size of touchable objects on the screen.

Introduced in platform.apiLevel = '2.2'