Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
nmaves
Level 7

Last item in targetgroup flashing

I have everything working perfectly with my target group but the last item is flashing when other indexes are focused.  Anyone else run into this issue?
0 Kudos
1 Reply

Re: Last item in targetgroup flashing

You have to add extra targetRects in your TargetSet.
For example, if you are displaying 3 (three) items, then

targetSet.targetRects = [
    { ... rectX ... }, ' "invisible" rectangle for avoiding flashing last item

    { ... rect1 ... }, ' rectangle for item 1
    { ... rect2 ... }, ' rectangle for item 2
    { ... rect3 ... }, ' rectangle for item 3

    { ... rectY ... }, ' "invisible" rectangle for avoiding flashing last item
]

Hope this helps.
0 Kudos