w10schools
Login
Register
In current category
Only my posts
Home
Tutorials
HTML, CSS
HTML, HTML5
CSS, CSS3
XML
JavaScript, AJAX
PHP
Ruby on Rails
Ruby
Rails
ASP.NET
ASP
C# .NET
Java
JSP
Databases
MySQL
MSSQL Server
Oracle
Web Server
Windows
Linux
Apache
IIS
Design
Dreamweaver
Flash
Photoshop
Fireworks
CorelDRAW
Illustrator
References
HTML
Bootstrap
CSS
CSS Selectors
Sass
JavaScript
Mobile Apps
Cordova
Ruby on Rails
Ruby
Rails
PHP
Function
Language
CodeIgniter
Phalcon
PHPUnit
Symfony
Drupal
Yii
Laravel
Perl
Perl
Python
Python
Django
NumPy
Pandas
scikit-image
scikit-learn
Statsmodels
Matplotlib
Lua
Lua
C, C++
C
C++
Server
Docker
Apache HTTP Server
Nginx
Database
PostgreSQL
Big Data
TensorFlow
Game Development
Phaser
LÖVE
Articles
News
General
Website Promotion
Online Advertising
Make Money Online
Editorials
Interviews
Web Roundups
Resources
Design
Fonts
Graphics
Vectors
Templates
UI (User Interface)
Brushes
Patterns, Backgrounds
Textures
Web Development
HTML, CSS
XML
JavaScript, AJAX
Ruby on Rails
PHP
Java
.NET
Python
Perl
Flash
Mobile Application Development
Mobile Development Tools
Swift
Online Services
Online Storage
Web Hosting
Tools
Generators
Edit
Toggle Dropdown
In Place Editing
Advanced Editing
References
Game Development
Phaser
Game Objects
InputHandler
Language
Default
Markdown
InputHandler#globalToLocalY()
globalToLocalY
(y)
Warning: EXPERIMENTAL
Parameters
Name
Type
Description
y
number
Source code:
input/InputHandler.js
(
Line 1542
)
Links:
http://phaser.io/docs/2.6.2/Phaser.InputHandler.html#globalToLocalY
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment
Please
login
to continue.
Popular Articles
InputHandler#InputHandler
new InputHandler(sprite) The Input Handler is bound to a specific Sprite and is responsible for managing all Input events on that Sprite. Paramete
InputHandler#scaleLayer
scaleLayer : boolean EXPERIMENTAL: Please do not use this property unless you know what it does. Likely to change in the future. Source code: inpu
InputHandler#dragOffset
dragOffset : Phaser.Point The offset from the Sprites position that dragging takes place from. Source code: input/InputHandler.js (Line 177)
InputHandler#startDrag()
startDrag(pointer) Called by Pointer when drag starts on this Sprite. Should not usually be called directly. Parameters Name Type Description poin
InputHandler#setDragLock()
setDragLock(allowHorizontal, allowVertical) Restricts this sprite to drag movement only on the given axis. Note: If both are set to false the sprit
Return to View
Please login to continue.