locV

Usage

-- Lingo syntax
spriteObjRef.locV

// JavaScript syntax
spriteObjRef.locV;

Description

Sprite property; indicates the vertical position of a sprite's registration point. Read/write.

Sprite coordinates are relative to the upper left corner of the Stage.

To make the value last beyond the current sprite, make the sprite a scripted sprite.

Example

This statement puts sprite 15 at the same vertical location as the mouse click:

-- Lingo syntax
sprite(15).locV = _mouse.mouseV

// JavaScript syntax
sprite(15).locV = _mouse.mouseV;

See also

bottom, height, left, locH, point(), right, Sprite, top, updateStage()