Dataclay — Automating Digital Production
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Register
    • Login
    1. Home
    2. Tags
    3. shape
    Log in to post
    • All categories
    • Amanda Aundefined

      Changing color of shape layers with dynamic fill in the color panel?

      Templates
      • color shape • • Amanda A
      2
      0
      Votes
      2
      Posts
      489
      Views

      ariestavundefined

      @Amanda-A Yes this is possible. You have to use expressions though when it comes to altering the color values in a shape layer. Take a read through this article to learn more about using data in expressions with Templater, and then also take a look at this pre-rigged template on our GitHub repository demonstrating the use of data in expression — also in the context of color manipulation. Hope this helps!

      —Arie

    • rivalproundefined

      Change shape size

      Templates
      • shape scale stroke percentage graphic • • rivalpro
      2
      0
      Votes
      2
      Posts
      479
      Views

      Jonundefined

      @rivalpro Yes, you can pull in the value as a text layer, then use an expression to tie your shape size / percent completion to the SourceText property of the text layer by wrapping it in a parseInt(). If your text layer is “text-1”, and your text layer is in the same comp as whatever numerical value you are using to control your bar, the expression would be:

      parseInt(thisComp.layer("text-1").text.sourceText)

      That would convert your text value from being just a text string into a number.