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

2.2.1 ppi

touch.ppi()

Returns pixels per inches along the diagonal 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'