Menu
Login
Language
DE EN FR ES IT CZ
Back

Move/Tween Display Object Text

  • #1, by dionous Tuesday, 06. March 2018, 10:30 8 years ago Quote
    Hi all,

    Anyone knows if it is possible to move/tween a display object text from one position to another?

    Forum Fan

    250 Posts

  • #2, by SimonS Tuesday, 06. March 2018, 11:49 8 years ago Quote
    Yep, possible:

    for i=1,ActiveTexts.__len do
    
      if ActiveTexts[i].Owner == Objects.Objekt0 then 
        ActiveTexts[i]:to(1000,{Position={x=500,y=500}},easeQuadInOut)
    
      end
    
    end

    Thread Captain

    1622 Posts

  • #3, by dionous Tuesday, 06. March 2018, 16:56 8 years ago Quote
    works great, thanks!

    Forum Fan

    250 Posts