Home
Fusion 2.5+
Firefly+
Tutorials+
Videos+
Guides & Tips+
Extensions
Versions
Teaching


Understanding the Functions

Understanding the Functions

Functions let you retrieve data from one object for use in another object. For example, you can retrieve the date displayed in the Date & Time object and display it in the String object.

Functions can be accessed via the [Retrieve Data From An Object] button in the Clickteam Fusion 2.5 Expression editor. Each function loads a specific value into the equation displayed in the Expression editor. The Expression editor is displayed whenever Clickteam Fusion 2.5 requires you to enter a number or text string.

There are two types of functions in Clickteam Fusion 2.5 General, and Object.

General Functions

The General functions retrieve data from the Restricted objects that are only accessible in the Event Editor. The Restricted objects are Special, Sound, Storyboard Controls, Timer, Create New Objects, Mouse & Keyboard, and Player. For example, the Player functions let you retrieve the current value of the score and the current number of lives that a player has left. Other examples of General functions include retrieving the current frame number, the total number of objects in the frame, the current horizontal (X) position of the mouse, and the current timer count.

Object Functions

The Object functions retrieve data from objects other than the Restricted objects. The functions available depend on the type of object. For example, you can retrieve the speed, position, and alterable values of an Active object, the current track number of a CD-Audio object, and the current URL of a Netscape object.




Spread the word!



You can share this document using the following buttons.




Submit your own User Tip