@Anonymous from your screenshots, it looks like your images are inside two containers.
One method:
On the OnSelect property of the left Image, use:
UpdateContext({cxtVar_ImageFill_Left: true});
UpdateContext({cxtVar_ImageFill_Right: false});
On the Fill Property of the left Container, use:
If(
cxtVar_ImageFill_Left,
Color.Red,
Color.Transparent
)
On the OnSelect property of the right Image, use:
UpdateContext({cxtVar_ImageFill_Left: false});
UpdateContext({cxtVar_ImageFill_Right: true});
On the Fill Property of the right Container, use:
If(
cxtVar_ImageFill_Right,
Color.Red,
Color.Transparent
)