# Let's do the zoom warp again

**URL:** <https://forum.kirupa.com/t/lets-do-the-zoom-warp-again/180839>\
**Category:** Uncategorized\
**Created:** [March 3, 2006, 7:37pm UTC](https://forum.kirupa.com/t/lets-do-the-zoom-warp-again/180839 "2006-03-03T19:37:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![austriaman](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@austriaman](https://forum.kirupa.com/u/austriaman)\
**Post date:** [March 3, 2006, 7:37pm UTC](https://forum.kirupa.com/t/lets-do-the-zoom-warp-again/180839/1 "2006-03-03T19:37:09Z")

</div>

Okay, so here’s what I wanna do:  
Given: a stage, 700 x 700.  
[AS]zoomObject = function {  
//camera view  
cameraView.x = 0;  
cameraView.y = 0;  
cameraView.z = 0;

cameraView.target.x = 350;  
cameraView.target.y = 350;  
cameraView.target.z = 20;

// +++ MISSING: +++  
// code that makes the camera zoom in on the target point  
// and set it right in the middle of the stage  
};  
[/AS]  
Given: a button  
[AS]on (release) {  
zoomObject();  
}[/AS]  
Thanks for the kind assistance.

:skull:
