how is に used in this sentence?


I just need clarification of how it was used in this particular sentence

> 相対的になされるべきで 一部ではなく全体のバランスが対象に

I'm just confused why there is a に at the end I did check the video if the
voice actor said anything else but this the ending of the sentence and how に
is used in succession I seem to have a hard time trying to understand how it
is used

> 分かるでしょ？→ 王子様はもっとこう 上目遣いで 恥じらいながら誘うように！→ 僕は 誘ってるの知りながら 意地悪するみたいに！→ もう１回 よろしく！
> はあ…




This is how it was explained where I came to learn it: に particle specifies
the target to a verb. And to me this general definition seems to make sense in
most cases. So when the particle is used without a verb it can be a way for
the speaker to make the target clear or basically lead the audience to what
they have in mind without having to complete the sentence. I don’t know if
it’s strictly grammatically speaking correct though.

In the first example it seems to me that the speaker is asking for what comes
before the に particle. In the rest depending on the context it can be
different but it seems to me that the speaker wants to explain what they have
in their mind and are trying to lead the audience to that as well.

