<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Template for Randomized Questions and Answers]]></title><description><![CDATA[<p dir="auto">Hello, I’m trying to create a video with random questions and answers, i.e., three boxes with only one correct result.</p>
<p dir="auto">I would like that, after a certain number of seconds, the color and text change based on whether it’s the correct answer, but randomly, i.e., only if it’s specified that this answer should change in a particular box.</p>
<p dir="auto">Example:</p>
<p dir="auto">Question 1</p>
<p dir="auto">Option/box 1<br />
Option/box 2<br />
Option/box 3</p>
<p dir="auto">Correct answer in box 3</p>
<p dir="auto">Question 2</p>
<p dir="auto">Option/box 1<br />
Option/box 2<br />
Option/box 3</p>
<p dir="auto">Correct answer in box 1</p>
]]></description><link>https://forums.dataclay.com/topic/320/template-for-randomized-questions-and-answers</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 10:46:53 GMT</lastBuildDate><atom:link href="https://forums.dataclay.com/topic/320.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 30 Sep 2023 05:26:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Template for Randomized Questions and Answers on Thu, 05 Oct 2023 20:07:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wcs">@<bdi>wcs</bdi></a></p>
<p dir="auto">Thanks for the clarification. This should absolutely be doable with Templater. You’ll probably need to use a combination of Expressions driven by Templater data like the one suggested above and maybe some of Templater’s <a href="https://support.dataclay.com/templater/content/concepts/data/flags.htm" rel="nofollow ugc">flag options</a> to turn layers on and off as needed.</p>
<p dir="auto">Hopefully, that’s enough to get you started, but if you have any additional questions, feel free to post them here or get in touch with us directly at <a href="mailto:support@dataclay.com" rel="nofollow ugc">support@dataclay.com</a></p>
<p dir="auto">Thanks,</p>
<p dir="auto">Jeff</p>
]]></description><link>https://forums.dataclay.com/post/1040</link><guid isPermaLink="true">https://forums.dataclay.com/post/1040</guid><dc:creator><![CDATA[Jeff]]></dc:creator><pubDate>Thu, 05 Oct 2023 20:07:17 GMT</pubDate></item><item><title><![CDATA[Reply to Template for Randomized Questions and Answers on Wed, 04 Oct 2023 20:14:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi! <a class="plugin-mentions-user plugin-mentions-a" href="/user/jeff">@<bdi>Jeff</bdi></a> ,</p>
<p dir="auto">Thank you for your response.</p>
<p dir="auto">Here’s an example regarding my question:</p>
<p dir="auto"><a href="https://www.youtube.com/watch?v=UMlNQyx5uAQ" rel="nofollow ugc">https://www.youtube.com/watch?v=UMlNQyx5uAQ</a></p>
<p dir="auto">For instance, it displays three options, and depending on the correct answer, it is either marked in green or with some random checkmark icon.</p>
]]></description><link>https://forums.dataclay.com/post/1039</link><guid isPermaLink="true">https://forums.dataclay.com/post/1039</guid><dc:creator><![CDATA[wcs]]></dc:creator><pubDate>Wed, 04 Oct 2023 20:14:25 GMT</pubDate></item><item><title><![CDATA[Reply to Template for Randomized Questions and Answers on Mon, 02 Oct 2023 15:54:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wcs">@<bdi>wcs</bdi></a></p>
<p dir="auto">While I’m not entirely sure I understand what we’re trying to accomplish here, there is a technique for controlling the color of an asset using Templater data that will almost certainly be useful for this particular scenario.</p>
<p dir="auto">To accomplish this, we’ll need to start by bringing our color hex code into a text layer. For this example, I’ll refer to this layer as “color”. Once the value is loaded into the layer correctly, we’ll need to apply the Fill Effect to the asset whose color we want to change. Finally, we’ll want to open the Fill Effect and ALT/Option click on the Stopwatch next to “Color” to enter an Expression. From there, we can enter this:</p>
<p dir="auto"><code>hexToRgb((""+thisComp.layer("color").text.sourceText+""))</code></p>
<p dir="auto">into the Expression field. This Expression will look at the hex code data in the “color” layer and then use it to set the Fill Color.</p>
<p dir="auto">Hopefully, that helps to get things moving in the right direction, but if you have any follow-up questions, please feel free to let us know, and we’ll do what we can to help out.</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Jeff</p>
]]></description><link>https://forums.dataclay.com/post/1038</link><guid isPermaLink="true">https://forums.dataclay.com/post/1038</guid><dc:creator><![CDATA[Jeff]]></dc:creator><pubDate>Mon, 02 Oct 2023 15:54:40 GMT</pubDate></item></channel></rss>