There are two approaches to formalising Gibson's notion of affordances. The first is to treat them as dispositional properties of the environment; properties the environment offers the organism to support possible actions. The second is as relations in the organism-environment system; not localised to the environment but formed when the organism-environment system is formed as a perception-action loop. I am firmly Team Dispositional Properties, because I think this best aligns with Gibson's goals, it allows actual science on the coordination and control of action (Wilson, 2026) and because there is currently no working account of how you might perceive a relational affordance.
Despite all this, the relational account remains alive, well, and probably the main way people think about affordances. One reason is the drive to make ecological psychology align with the commitments of radical enactivism, a drive I have no interest in (I think enactivism is ok but nothing we owe our allegiance). I think the other big reason is that only the relational account really allows you to talk about affordances for things other than the coordination and control of actions, and as the ecological approach expands the things it is trying to explain people want to apply the ecological tools we have, and that means affordances.
Except actually, it doesn't.