New Year Prediction
Leave the fate of your year in the hands of a crystal ball! The New Year Prediction template cycles through customizable prompts and outputs random answers in a crystal ball.
![new year prediction demo](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/new_year_prediction_demo-2c61dbadf357df8d9f514b4ce6e66c1a.gif)
Open the Template
To use this template in your Effect House project:
- Go to Templates
- Click the Interactive tab
- Select the New Years Prediction template
![open template](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/open_template-ceb5c7b8ddc2cf96570fa194f482730e.png)
Hierarchy
In the Hierarchy panel, there are three main render groups:
- Tip contains helpful hints to personalize the game
- 2D Effects renders special effects, 2D assets, prompts, and answers
- Special Effects renders the 3D crystal ball, including its refraction material
![hierarchy](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/hierarchy-e87ea819a6db031482921333e0faa259.png)
Assets
The Assets panel houses all the materials and textures used to make up the different elements of the effect. For example, Glass_Mat gives the crystal ball a glass-like material, while Sparkles_Mat illuminates the foreground.
![assets](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/assets-cd2696c1b2e0b2361542c638fa48bb77.png)
Customize Prompts
By default, the effect cycles through the following prompts:
- Your Love in 2024 will be...
- Your Money in 2024 will be...
- Your Luck in 2024 will be...
- Your Fame in 2024 will be...
To personalize the prompts:
- Go to the Hierarchy panel
- Expand the Prompts object
- Select a prompt
![prompts](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/prompts-63c9e11abdebd6dcd4ea4724fd594b0d.png)
- Go to the Inspector panel to find the Text component
- Edit the Text field with your personal prompt
![text component](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/text_component-da3cd8db6384f5e91deb94a22da609bb.png)
- Test out the different components to change the text's appearance!
Customize Answers
After a prompt is displayed, the effect outputs a random answer from the list of options found in Answers.
![answers](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/answers-382abc7071e19d5de8310ffaabe2a208.png)
Similar to the prompts, you can personalize the answers:
- Go to the Hierarchy panel
- Expand the Answers object
- Select an answer
- Go to the Inspector panel to find the Text component
- Edit the Text field with your personal answer
![answer text](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/answer_text-0481b82b7d6402db51fc6543c82c307c.png)
- Test out the different components to change the text's appearance!
Visual Scripting
In the Visual Scripting panel, you can change the timing between prompts and answers in your effect.
![visual scripting](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/visual_scripting-18c128f12d8937be902c42bacca3062c.png)
- Prompt Slide In/Out Time determines how long it takes for the prompt to slide into the screen
- Prompt Wait Time controls how long the prompt stays on the screen before an answer is triggered
- Answer Wait Time controls how long the answers stay on the screen before it disappears
- Pause Between Rounds Time determines the time between the current round of prompt and answer and the next round